import request from '@/utils/request'
export function workPage(data) { //待阅事项列表
  return request({
    url: '/sys-center/api/mattersToBeRead/page',
    method: 'POST',
    data
  })
}


export function toDoListPage(data) { //待办事项列表
  return request({
    url: '/sys-center/api/toDoList/page',
    method: 'POST',
    data
  })
}


export function toDoListState(data) { //处理状态
  return request({
    url: '/sys-center/api/toDoList/status',
    method: 'POST',
    data
  })
}
export function toDoListTotle(data) { //未读条目
  return request({
    url: '/sys-center/api/toDoList/count',
    method: 'POST',
    data
  })
}


export function toDoListTotleNew(data) { //查询最新一条待阅
  return request({
    url: '/sys-center/api/mattersToBeRead/mattersToBeRead/bullet/box',
    method: 'POST',
    data
  })
}
